package cn.wp.common.core.module.log;

import cn.wp.common.core.dao.JdbcSupportTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * 访问日志记录
 * Created by chenyb on 2019/09/29
 */
@Repository
public class AccessLogDao {

    @Autowired
    private JdbcSupportTemplate jdbcSupportTemplate;

    public int insert(AccessLogDo accessLog){
        return jdbcSupportTemplate.insert(accessLog);
    }

}
